package me.sdevil507.supports.upload;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云上传配置
 */
@Component
@ConfigurationProperties(prefix = "upload-config.aliyun.oss")
@Data
public class AliyunUploadProperties {

    /**
     * accessKey
     */
    private String accessKey;

    /**
     * secertKey
     */
    private String secertKey;

    /**
     * endpoint
     */
    private String endpoint;

    /**
     * bucket
     */
    private String bucket;

    /**
     * 文件夹名称--成果
     */
    private String fruitFolderName;

    /**
     * 文件夹名称--公共
     */
    private String commonFolderName;



}
